// Thread.h: interface for the Thread class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_THREAD_H__CD4D5B00_D9C4_46CE_BDF6_827228F7825F__INCLUDED_)
#define AFX_THREAD_H__CD4D5B00_D9C4_46CE_BDF6_827228F7825F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


#include <process.h>
typedef void *HANDLE;
#define IFINITE 0xFFFFFFFF
class Thread  
{
public:
	
	virtual void run();
	void start();
	HANDLE getThread();
private:
	HANDLE hThread;
	static void agent(void *p);
};

#endif // !defined(AFX_THREAD_H__CD4D5B00_D9C4_46CE_BDF6_827228F7825F__INCLUDED_)